package applications.libraryForm.fc.lib;

import applications.libraryForm.fc.api.Book;
import applications.libraryForm.fc.api.BorrowedBook;

public class BorrowedBookImpl implements BorrowedBook {
	
	
	private String loanNumber;
	private String dayOfIssue;
	private String dayOfReturn;
	private String effectiveDayOfReturn;
	private String status;
	private Book book;
	
	
	
	
	
	public BorrowedBookImpl() {
		super();
		System.out.println("BorrowedBookImpl created!!");

	}
	
	
	
	
	
	public BorrowedBookImpl(String loanNumber, String dayOfIssue,
			String dayOfReturn, String effectiveDayOfReturn, String status,
			Book book) {
		super();
		this.loanNumber = loanNumber;
		this.dayOfIssue = dayOfIssue;
		this.dayOfReturn = dayOfReturn;
		this.effectiveDayOfReturn = effectiveDayOfReturn;
		this.status = status;
		this.book = book;
	}





	@Override
	public Book getBook() {
		// TODO Auto-generated method stub
		return this.book;
	}
	@Override
	public String getDayOfIssue() {
		// TODO Auto-generated method stub
		return this.dayOfIssue;
	}
	@Override
	public String getDayOfReturn() {
		// TODO Auto-generated method stub
		return this.dayOfReturn;
	}
	@Override
	public String getEffectiveDayOfReturn() {
		// TODO Auto-generated method stub
		return this.effectiveDayOfReturn;
	}
	@Override
	public String getLoanNumber() {
		// TODO Auto-generated method stub
		return this.loanNumber;
	}
	@Override
	public String getStatus() {
		// TODO Auto-generated method stub
		return this.status;
	}
	
	
	
	

}
